package com.gxuwz.endrskyweather.apiclient;

import com.gxuwz.endrskyweather.model.*;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import org.json.JSONException;

public interface IApiClient {
    String httpGetJsonString(String cityCode) throws IOException;
    LifeIndex getLifeIndex(String cityCode) throws IOException, JSONException;
    Now getNowWeather(String cityCode) throws IOException, JSONException;
    Day getDayWeather(String cityCode) throws IOException, JSONException;
    Night getNightWeather(String cityCode) throws IOException, JSONException;
    AlarmList getAlarmList(String cityCode) throws IOException, JSONException;
    List<Hour1dataItem> getHour1Forecast(String cityCode) throws IOException, JSONException;
    List<String> getHour3Forecast(String cityCode) throws IOException, JSONException;
    Map<String, ForecastDay> get7DayForecast(String cityCode) throws IOException, JSONException;
    Map<String, ForecastDay> get15DayForecast(String cityCode) throws IOException, JSONException;
    Observe24h getObserve24h(String cityCode) throws IOException, JSONException;
}
